#ifndef NEWPROJECTCONFIGDIALOG_H
#define NEWPROJECTCONFIGDIALOG_H

#include <QDialog>
#include <QtGui>

//#include <QtCore/QVariant>

class QButtonGroup;
class QDialogButtonBox;
class QGroupBox;
class QLineEdit;
class QPushButton;
class QRadioButton;
class MainWindow;
class QLineEdit;
class QCompleter;
class QPushButton;

class newProjectConfigDialog : public QDialog {

    Q_OBJECT

public:
    /* -- Constructeur -- */
    newProjectConfigDialog(QWidget * parent = 0);
    ~newProjectConfigDialog();

private:

    QRadioButton * radioButtonC;
    QRadioButton * radioButtonAda;
    QRadioButton * radioButtonCpp;

    QGroupBox * groupBoxLocation;
    QGroupBox * groupBoxLanguage;

    QRadioButton * radioButtonLocal;
    QRadioButton * radioButtonCVS;

    QPushButton * dirChooserButton;
    QPushButton * gotoSVNButton;
    QPushButton * gotoGITButton;

    QLineEdit * linePathEdit;
    QDialogButtonBox * buttonBox;
    QCompleter * pathCompleter;
    QPushButton * dirChooser;

    //MainWindow * parent;

private slots:
    void chooseCVSPathLocation();
    void chooseLocalPathLocation();
    void pathFolderProjectChooser();
    void acceptDialog();
    void skipDialog();

signals:
    void create(QString path);
    void selectedPath(QString path);

};

#endif // NEWPROJECTCONFIGDIALOG_H
